package com.lqwu.mallchatserver.websocket.model.vo.request;

import com.lqwu.mallchatserver.websocket.model.enums.WSReqTypeEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * WS 请求基类
 */
@Data
public class WsBaseRequest implements Serializable {
    /**
     * 请求类型(1:请求登录二维码, 2:心跳包, 3:登录认证)
     * @see WSReqTypeEnum
     */
    private Integer type;

    /**
     * 请求数据
     */
    private String data;

    private static final long serialVersionUID = 1L;
}
